﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace BlueLotus7.SSQAnalyzer.Forms
{
    public partial class ImportExportForm : Form
    {
        public ImportExportForm()
        {
            InitializeComponent();
        }

        private void ImportExportForm_Load(object sender, EventArgs e)
        {
            fileDialogForImport.Multiselect = false;
            this.importErrorMessage.Text = this.exportErrorMessage.Text = string.Empty;
        }

        private void btn_browseForImport_Click(object sender, EventArgs e)
        {
            if (DialogResult.OK == fileDialogForImport.ShowDialog())
            {
                txt_ImportFilePath.Text = fileDialogForImport.FileName;
            }
        }

        private void btn_browseForExport_Click(object sender, EventArgs e)
        {
            if (DialogResult.OK == folderBrowserDialogForExport.ShowDialog())
            {
                txt_ExportFilePath.Text = folderBrowserDialogForExport.SelectedPath;
            }
        }
    }
}
